﻿using NPOI.HPSF;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace BathhouseService.Models.SqlModels
{
    /// <summary>
    /// 公告评论
    /// </summary>
    public class AnnouncementComments : TopBasePoco
    {
        [Key]
        public new int ID { get; set; }
        [Display(Name = "公告")]
        [Required(ErrorMessage = "公告是必填项")]
        public int NoticeId { get; set; }
        [Display(Name = "评论用户Id")]
        public Guid? UpUserId { get; set; }
        [Display(Name = "评论用户")]
        public string UpUserName{ get; set; }
        [Display(Name = "评论内容")]
        [Required(ErrorMessage = "评论内容是必填项")]
        public string Content { get; set; }
        public DateTime UpTime { get; set; }
    }
}
